//
//  Interface.h
//  Marry
//
//  Created by usera on 16/1/11.
//  Copyright © 2016年 usera. All rights reserved.
//

#ifndef Interface_h
#define Interface_h


/*
 * 服务器请求接口设置
 */
#pragma mark - 接口服务器地址

#define SeverPath @"http://139.224.26.107/"


#pragma mark - 相关接口


#pragma mark - 注册
/**
 *  userName 账号
 *  password   密码
 *  token   Token
 *  time  时间戳
 */
#define registerPath [SeverPath stringByAppendingString:@"inquiry/user/register"]

/**
 *  登录
 */
#define loginPath [SeverPath stringByAppendingString:@"inquiry/user/login"]

/**
 *  查询学校
 */
#define schoolListPath [SeverPath stringByAppendingString:@"inquiry/querySchoolList"]

/**
 *  查询年纪
 */
#define gradesListPath [SeverPath stringByAppendingString:@"inquiry/queryGradesList"]

/**
 *  查询班级
 */
#define classesListPath [SeverPath stringByAppendingString:@"inquiry/queryClassesList"]

/**
 *  更新数据
 */
#define updateStudentInfoPath [SeverPath stringByAppendingString:@"inquiry/other/updateStudentInfo"]

/**
 *  修改密码
 */
#define setPasswordPath [SeverPath stringByAppendingString:@"inquiry/user/setPassword"]

/**
 *  问卷
 */
#define queryDetailPath [SeverPath stringByAppendingString:@"inquiry/questionnaire/queryQuestionnaireDetail"]

/**
 *  老师查看的学生列表
 */
#define dataListPath [SeverPath stringByAppendingString:@"inquiry/user/dataList"]

/**
 *  查询问卷类型(首页列表)
 */
#define queryNamePath [SeverPath stringByAppendingString:@"inquiry/queryQuestionnaireList"]

/**
 *  查询答案
 */
#define querySolutionPath [SeverPath stringByAppendingString:@"inquiry/questionnaire/querySolution"]

/**
 *  检查版本
 */
#define checkVersionPath [SeverPath stringByAppendingString:@"inquiry/other/queryVersions"]

/**
 *  更新服务器配置
 */
#define initPath [SeverPath stringByAppendingString:@"inquiry/init"]

/**
 *  更新studentId接口
 */
#define queryStudentIdFormUserIdPath [SeverPath stringByAppendingString:@"inquiry/other/queryStudentIdFormUserId"]

/**
 *  提交问卷
 */
#define insertQuestionnaireResultPath [SeverPath stringByAppendingString:@"inquiry/questionnaire/insertQuestionnaireResult"]

/**
 *  老师查看问卷
 */
#define queryAnswerDetailFromPreviewPath [SeverPath stringByAppendingString:@"inquiry/other/queryAnswerDetailFromPreview"]

/**
 *  检测学生是否存在
 */
#define checkPath [SeverPath stringByAppendingString:@"inquiry/user/check"]

#endif /* Interface_h */

